/**
 * Created by luckyjing on 15/12/29.
 */
$("button").on("click", function (event) {
    event.preventDefault();
    $.post('users/add',$("form").serialize(), function (result) {
        $('#console').text(result.msg);
    })
});